package com.antaohua.tools.system.entity;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import com.antaohua.tools.framework.base.interfase.CreateDateInterfase;
import com.antaohua.tools.framework.base.model.UUIDIdentityModel;

@Entity
@Table(name="SYS_AREA")
public class SysAreaEntity extends UUIDIdentityModel implements Serializable, CreateDateInterfase {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	@Column(name="CODE",length=32,nullable=false)
	private String code; 
	@Column(name="NAME",length=100,nullable=false)
	private String name;
	@Column(name="FULLNAME",length=100,nullable=false)
	private String  fullname;
	
	@Column(name="LOCATILON_LAT",precision = 10, scale = 6)
	private Double locatilonLat;
	
	@Column(name="LOCATILON_LNG",precision = 10, scale = 6)
	private Double locatilonLng;
	
	@Column(name="PINGYIN",length=30)
	private String pingyin;

	@Column(name = "CREATEDATE", nullable = false)
	private Date createDate;
	
	
	
	
	
	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getFullname() {
		return fullname;
	}

	public void setFullname(String fullname) {
		this.fullname = fullname;
	}

	public Double getLocatilonLat() {
		return locatilonLat;
	}

	public void setLocatilonLat(Double locatilonLat) {
		this.locatilonLat = locatilonLat;
	}

	public Double getLocatilonLng() {
		return locatilonLng;
	}

	public void setLocatilonLng(Double locatilonLng) {
		this.locatilonLng = locatilonLng;
	}

	public String getPingyin() {
		return pingyin;
	}

	public void setPingyin(String pingyin) {
		this.pingyin = pingyin;
	}

	public Date getCreateDate() {
		return createDate;
	}

	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}
	

	
	
	
	
}
